﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("----------猫----------");
            Cat tom = new Cat();
            Petshop PS = new Petshop();
            PS.ConsignAnimal(tom);
            tom.Seenight();
            Console.WriteLine("----------老虎----------");
            Tiger T = new Tiger();
            PS.ConsignAnimal(T);
            T.Seenight();
            Console.WriteLine("----------鹰----------");
            Eagle E = new Eagle();
            PS.ConsignAnimal(E);
            E.fly();
            Console.WriteLine("----------海鸥----------");
            SeaMew S = new SeaMew();
            PS.ConsignAnimal(S);
            E.fly();
        }
    }
}
